package com.southwind.servise;

import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;

import com.southwind.entity.Classes;
import com.southwind.mdao.ClassesMapper;

@Service
public class ClassesService {

	@Autowired
	ClassesMapper mapper;
	  //通过id查班级 以及班级的学生
		 public Classes findById(long id) {
			return mapper.findById(id);
			 
		 }
}
